home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Motherboard Monitor / MBM5370.exe / {app} / misc / readme.txt < prev    next >
Text File  |  2004-03-21  |  4KB  |  153 lines

  1. ****************************************************************
  2. wm_close.exe
  3. ****************************************************************
  4.  
  5. tool to close any program as long as it responds to the wm_close 
  6. API call, to use it call it with the window class or window name 
  7. as parameter, it will 1st try to locate a window wich has the 
  8. given parameter as class name, if that fails it will try to 
  9. ocate a window with the given parameter as name.
  10.  
  11.  
  12.  
  13. ****************************************************************
  14. mbm5msg.exe
  15. ****************************************************************
  16.  
  17. tool to send a message to mbm, starting it with one of the 
  18. switches below will make it send that message to mbm.
  19.  
  20. 0  WM_WRITELH
  21. 1  WM_OPENSETTINGS
  22. 2  WM_OPENDASHBOARD
  23. 3  WM_OPENHELP
  24. 4  WM_CLOSEMBM
  25. 5  WM_CLOSEOSD
  26. 6  WM_OPENOSD
  27. 7  WM_DUMPISA
  28. 8  WM_DUMPSMB
  29. 9  WM_DUMPPCI
  30. 10 WM_VIADUMP
  31.  
  32.  
  33.  
  34. ****************************************************************
  35. mbmstarter.dll
  36. ****************************************************************
  37.  
  38. This may ONLY be distributed and used by programs that are fully 
  39. FREEWARE, you are NOT ALLOWED to use this DLL with shareware, 
  40. payware or commercial programs.
  41.  
  42. now that the legal part is out of the way, with this dll you can 
  43. launch the mbm.dll without using mbm, of course you must have 
  44. configured mbm correctly if you want this to work correctly. 
  45. Once the mbm.dll is running you freeware program can access the 
  46. sharedmemory like normal
  47.  
  48.  
  49. the delphi code to start the dll is like this:
  50.  
  51. type
  52.   TStartDLL = function : Integer; stdcall;
  53.   TStopDLL  = function : Integer; stdcall;
  54.  
  55. var
  56.   Form1: TForm1;
  57.   CStartDLL : TStartDLL;
  58.   CStopDLL  : TStopDLL;
  59.   DLLHandle : THandle;
  60.  
  61. implementation
  62.  
  63. {$R *.DFM}
  64.  
  65. procedure TForm1.Button1Click(Sender: TObject);
  66. var
  67.   X       : Integer;
  68. begin
  69.   if DLLHandle=0 then
  70.   begin
  71.     DLLHandle:=LoadLibrary(PChar(ExtractFilePath(ParamStr(0))+'MBMStarter.dll'));
  72.     if DLLHandle <> 0 then
  73.     begin
  74.       @CStartDLL:=GetProcAddress(DLLHandle, 'Start');
  75.       X:=CStartDLL;
  76.       if X <> 1 then Showmessage('Error Starting MBM.DLL, Error : '+IntToStr(X))
  77.                 else Showmessage('MBM.DLL Started') ;
  78.     end
  79.     else Showmessage('Error Loading StarterDLL');
  80.   end;
  81. end;
  82.  
  83. procedure TForm1.Button2Click(Sender: TObject);
  84. begin
  85.   if DLLHandle<>0 then
  86.   begin
  87.     @CStopDLL:=GetProcAddress(DLLHandle, 'Stop');
  88.     CStopDLL;
  89.     FreeLibrary(DLLHandle);
  90.     DLLHandle:=0;
  91.     Showmessage('Starter DLL unloaded');
  92.   end;
  93. end;
  94.  
  95. the mbm5starter.dll will always created a sub dir called dll and
  96. copy the mbm.dll into this directory, this is needs to be done
  97. and can not be avoided
  98.  
  99. as of version > 5.3.5.0 there are 2 new function:
  100.  
  101. function SetPrio(X : Byte) : Boolean; stdcall;
  102. function SendPath(Path : Pchar) : Boolean;
  103.  
  104. With SetPrio you can increase the priority of the timer loop in
  105. the dll, use the following table:
  106.  
  107. 0: Idle
  108. 1: Lowest
  109. 2: Lower
  110. 3: Normal
  111. 4: Higher
  112. 5: Highest
  113. 6: TimeCritical
  114.  
  115. With SendPath you can send a new path to the dll in case it has 
  116. no access to HKEY_CURRENT_USER, if you get a result of 0 back 
  117. then this is your problem, send your new path BEFORE you do the
  118. start function.  The path should contain the base directory of 
  119. MBM.
  120.  
  121.  
  122. ****************************************************************
  123. MBM5ST.exe
  124. ****************************************************************
  125.  
  126. Simple program that will start the MBMstarter.dll, ment for
  127. those people who have problems starting the dll themselves. 
  128. MBM5ST.exe has to be in the path as the MBMstarter.dll
  129.  
  130. When you start MBM5ST.exe it will start the MBMstarter.dll
  131. when you start MBM5ST.exe for a 2nd time it will close itself
  132. when you start MBM5.exe it will close MBM5ST.exe
  133.  
  134.  
  135. ****************************************************************
  136. mbm 5.ini
  137. ****************************************************************
  138.  
  139. This is a clean version of the MBM 5.ini file, if you ever get
  140. into troubles then simply close mbm and copy this OVER the 
  141. version in the /data directory and you can start clean.
  142.  
  143.  
  144. ****************************************************************
  145. uninstall problems.bat
  146. ****************************************************************
  147.  
  148. If your having errors uninstalling which included INSTALL.LOG 
  149. then please run this batch file, it should start the uninstaller 
  150. without problems
  151.  
  152.  
  153.